package org.cid54.jshopper.dao;

import java.util.List;
import org.cid54.jshopper.model.ShoppingList;
import org.cid54.jshopper.model.UserGroup;

/**
 *
 * @author fgo
 */
public interface ShoppingListDao extends SuperEntityDao<ShoppingList> {
    
    List<ShoppingList> findByUserGroup(UserGroup userGroup);

    ShoppingList findByIdWithShopItems(long shoppingListId);

    List<ShoppingList> findByUserGroups(List<UserGroup> userGroups);

    ShoppingList findByName(String name);

}
